<?php
class RoomRateDetails
{
	private $rommRateDetails;
	function RoomRateDetails($details)
	{
		$this->rommRateDetails=$details;
	}
	
	function GetRoomTypeCode()
	{
		return $this->rommRateDetails->{"roomTypeCode"};
		
	}
	
	function GetRateCode()
	{
		return $this->rommRateDetails->{"rateCode"};
	}

	function GetMaxRoomOccupancy()
	{
		return $this->rommRateDetails->{"maxRoomOccupancy"};
	}

	function GetMinGuestAge()
	{
		return $this->rommRateDetails->{"minGuestAge"};
	}
	
	function GetRoomDescription()
	{
		return $this->rommRateDetails->{"roomDescription"};
	}
	
	function GetCurrentAllotment()
	{
		return $this->rommRateDetails->{"currentAllotment"};
	}
	
	function GetPropertyAvailable()
	{
		return $this->rommRateDetails->{"propertyAvailable"};
	}
	
	function GetPropertyRestricted()
	{
		return $this->rommRateDetails->{"propertyRestricted"};
	}
	
	function GetExpediaPropertyId()
	{
		return $this->rommRateDetails->{"expediaPropertyId"};
	}
	
	function GetRateInfo()
	{
		return new RateInfo($this->rommRateDetails->{"rateInfo"});
	}
	
}

?>
